﻿using Base.ModuleBase;
using Base.ModuleBase.Regions;
using Modules.ModuleA.ViewModels;
using Modules.ModuleA.Views;
using Prism.Ioc;
using Prism.Modularity;
using Prism.Regions;
using System;
using System.Collections.Generic;
using System.Text;

namespace Modules.ModuleA
{
    public class ModuleAModule : ModuleBase
    {
        /// <summary>
        /// 注册页面
        /// </summary>
        protected override void RegisterViews()
        {
            RegionManager.RegisterViewWithRegion(RegionNames.UserControlBase, typeof(UserControlBase));
            RegionManager.RegisterViewWithRegion(RegionNames.UserControl1, typeof(UserControl1));
            RegionManager.RegisterViewWithRegion(RegionNames.UserControl2, typeof(UserControl2));

            ContainerRegistry.RegisterDialog<CommonInfo, CommonInfoViewModel>();

        }

    }
}
